package com.coco.dao;

import com.coco.model.RootModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author GHOSTLaycoo
 * @date 2020/4/12 0012 - 下午 14:50
 */
public interface RootMapper {
    int save(RootModel rootModel);

    int delete(String id);

    int update(RootModel rootModel);

    List<RootModel> getRootByCondition(@Param("keyWord") String keyWord);
}
